Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add StateVariable location #2585

Merged
merged 1 commit into from
Oct 10, 2024
Merged

Add StateVariable location #2585

merged 1 commit into from
Oct 10, 2024

Conversation

smonicas
Copy link
Contributor

Add the location to a StateVariable so we know if it's in persistent or transient storage.

@smonicas smonicas requested a review from montyly as a code owner October 10, 2024 08:47
@montyly
Copy link
Member

montyly commented Oct 10, 2024

Maybe we should use a boolean or an enum? Having the location as a string is likely going to create misuse of the API

@smonicas
Copy link
Contributor Author

I used a string to keep the same behavior as for LocalVariable

@montyly
Copy link
Member

montyly commented Oct 10, 2024

haha that's probably something we need to change there too then :p

I am merging this PR and opening an issue to track this

@montyly montyly merged commit 570840d into dev Oct 10, 2024
46 checks passed
@montyly montyly deleted the dev-storage-location branch October 10, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants